<template>
  <div>
    <IndexChat
      ref="sessionIndex"
      :window-data="windowData"
      :default-input-message="inputMsg"
    >
    </IndexChat>
  </div>
</template>

<script>
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'

import SessionTypeConstant from "../common/constants/SessionType";
import IndexChat from '../components/session/IndexChat'
import ContentShowType from "../common/constants/ContentShowType";
import '../css/hugai-style.scss'
import '../css/markdown-theme.css'

const windowData = {
  title: 'Ai聊天室',
  description: '与Ai一起畅所欲言',
  sessionType: SessionTypeConstant.CHAT,
  contentShowType: ContentShowType.Markdown
}

export default {
  name: "sessionQA",
  components:{
    IndexChat,
    mavonEditor
  },
  data(){
    return {
      windowData,
      inputMsg: '',
    }
  },
  created() {
  },
  mounted() {
  },
  methods: {

  }
}
</script>

<!--<style>
@import "../css/hugai-style.scss";
@import "../css/markdown-theme.css";
</style>-->
